function isValid2(frm)
{
      var date = frm.datum;
      var ad = frm.adult;  
      var kid = frm.kids;
      var snr = frm.seniors;
      
      if(check(date) && check(ad) && isNumber(ad) && check(kid) && isNumber(kid) && check(snr) && isNumber(snr))
          {
                  return true;
          }
      else
          {
                  return false;
          }
}
function check(cmd)
{
	if(cmd.value == "")
	{
		alert(cmd.name + "  " + "Field Missed");
		cmd.focus();
		return false;
	}
	return true;
}
function isNumber(cmd)
{	
	if(isNaN(cmd.value))
	{
		alert(cmd.name+" "+ "should be numeric value");
		cmd.focus();
		return false;
	}
	return true;
}